package com.tuanzi.loan.business.repository.shortlink;
/**
* @author chenweijun 
* @version 2018年4月11日
*/

import com.tuanzi.loan.business.entity.shortlink.ShortLink;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ShortLinkRepository extends JpaRepository<ShortLink, Long> {
    ShortLink findByShortLink(String shortLink);

    List<ShortLink> findByDisplayedShortLinkOrderByCtimeDesc(String displayedShortLink);
}
